package com.aliyun.messagemgt.feignapi;

import com.alibaba.fastjson.JSONObject;
import com.aliyun.messagemgt.common.dto.response.AjaxResult;
import com.aliyun.messagemgt.common.dto.response.ResultMap;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "消息查询")
@RestController
public interface QueryApiHttp {

    @RequestMapping(value = "/message/v1/metrics/messageTemplateCount", method = {RequestMethod.GET})
    ResultMap<JSONObject> templateCount();


    @RequestMapping(value = "/message/v1/metrics/messageCount", method = {RequestMethod.GET})
    ResultMap<JSONObject> messageRecordCount();
}
